<div class="view_box">
    <div class="view_img"><img src="{$article.Img}" alt="{$article.Title}" width="513" height="342"></div>

</div>
<div class="main">
    <div class="content">


    <div class="view_txt_h1box">
            <div class="h1_left">
                <h1>{$article.Title}</h1>
                <div class="h1_p">
                    <span><i class="iconfont icon-gerenzhongxin"></i>{$article.Author.StaticName}</span>
                    <span><i class="iconfont icon-leibiefenlei"></i>{$article.Category.Name}</span>
                    <span><i class="iconfont icon-shoucang"></i>评论{$article.CommNums}次</span>
                    <span><i class="iconfont icon-shijian"></i>{$article.Time('Y-m-d','CreateTime')}</span>
                    <span><i class="iconfont icon-gengxin"></i>{$article.Time('Y-m-d','UpdateTime')}</span>
                </div>
            </div>
            <div class="view_hot"><i class="iconfont icon-huo"></i><span>{$article.ViewNums}</span></div>
        </div>

        <div class="h2"><strong></strong><span class="iconfont icon-zitidaxiao"></span></div>
        <article class="at_center" id="at">
            {$article.Content}
        </article>
        {if count($article.Tags)>0}
        <div class="f_nav_tag">
            <ul>
                {foreach $article.Tags as $i => $tag}
                <li><a href="{$tag.Url}">{$tag.Name}</a></li>
                {/foreach}
            </ul>
        </div>
        {/if}

        {if !$article.IsLock}
            {template:comments}
        {/if}
    </div>
    <div class="side">
        {template:sidebar}
    </div>
</div>
<div class="template_list" style="margin-bottom:40px">
    <h2><strong>猜您喜欢</strong></h2>
    <div class="template_list_box qa">
        {php}
        $w=array();
        $w['count']=8;
        $array=GetList($w);
        {/php}
        {foreach $array as $key=>$related}
        <article>
            <div class="tem_ar">
                <a href="{$related.Url}" class="template_list_img">
                    <img src="{$related.Img}" alt="{$related.Title}" width="273" height="182"></a>
                <div class="tem_b">
                    <header>
                        <div class="template_list_type"><a href="{$related.Category.Url}"><i
                                    class="iconfont icon-dian"></i><span>{$related.Category.Name}</span></a></div>
                        <h3><a href="{$related.Url}">{$related.Title}</a></h3>
                    </header>
                    <div class="template_list_p">
                        <p>{$related.Intro}</p>
                    </div>
                    <footer>
                        <time><i class="iconfont icon-shijian"></i><span>{$related.Time('Y-m-d')}</span></time>
                        <div class="metaviewsbox"><span class="meta-views"><i
                                    class="iconfont icon-chakan"></i>{$related.ViewNums}</span>
                    </footer>
                </div>
            </div>
        </article>
        {/foreach}
    </div>
</div>